package xj.graph2d.app.prop;

import javax.swing.JFrame;

import xj.graph2d.app.DrawApp;

public abstract class UMLBasicModelPane 
  extends PropertiesPane {

  public UMLBasicModelPane(DrawApp main) {
    super(main);
  }

  protected void addBasicFields() {
    JFrame frame = main.getJFrame();
    stereotypes = new StereotypeField(frame);
    addRow(stereotypes);

    tags = new TagField(frame);
    addRow(tags);

    constraints = new ConstraintField(frame);
    addRow(constraints);

    comments = new CommentField(frame);
    addRow(comments);

    links = new LinkField(frame);
    addRow(links);
  }

  protected StereotypeField stereotypes;

  protected TagField tags;

  protected ConstraintField constraints;

  protected CommentField comments;

  protected LinkField links;

}
